<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE div PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sj:head jqueryui="true" />
</head>
<body>
	<div id="principalExtintor">
		<fieldset id="busquedaExtintor">
			<legend>
				Busqueda de extintor&nbsp;&nbsp; <img id="indicator"
					src="<s:url value="/resources/images/loading.gif"/>" width="20;"
					height="20;" alt="Cargando..." style="display: none" />
			</legend>
			<s:form id="busquedaAutocomplete" name="consult.action"
				namespace="/extintor" theme="xhtml">
				<table>
					<tr>
						<td><sj:autocompleter id="code" name="code" list="%{codes}" forceValidOption="true"
								label="Codigo" /></td>
						<td align="center"><sj:a id="consult" href="../extintor/consult.action"
								formIds="busquedaAutocomplete" indicator="indicator"
								targets="divResultado" button="true" buttonIcon="ui-icon-gear">
								BUSCAR
							</sj:a></td>
					</tr>
				</table>
				
			</s:form>
		</fieldset>
		<br/><br/>
		<div id="divResultado"></div>
	</div>
</body>
</html>